package com.lecture.springlecture.service.impl;

import com.lecture.springlecture.dao.ClassesMapper;
import com.lecture.springlecture.entity.Classes;
import com.lecture.springlecture.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author luyn
 * @version 1.0
 * @description
 * @date 2020/8/6 10:44
 */
@Service
public class ClassesServiceImpl
        implements ClassesService {

    @Autowired
    private ClassesMapper classesMapper;

    @Override
    public List<Classes> getClassesList() {
        return classesMapper.getClassesList();
    }

    @Override
    public List<Classes> listClasses(String parameter) {
        return classesMapper.listClasses(parameter);
    }
}
